/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package rallyracer;

/**
 *
 * @author samra_000
 */
public class DuplicateSegmentInRaceException extends RacingException
{
    Segment s;
    RallyManager r;

    public DuplicateSegmentInRaceException(String message, RallyManager r, Segment segment) 
    {
        super(message);
        this.s=segment;
        this.r = r;
    }
    
}
